home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1994 October / Macformat17.cdr / Shareware City / Developers / MacAppMods1.0d3 / MacAppHeaders.h < prev    next >
Text File  |  1994-06-25  |  1KB  |  35 lines

  1. /**********************************************************************
  2. The _940613CWBug token is added for a CW Bug in the 6-13-94 MPTP compiler.
  3. If you are using DR3, CW3.5 or a later MPTP version, leave the following 
  4. define commented out.  It only affects code in PascalString.cp and .h; 
  5. search for _940613CWBug (This define is put here because I wanted to set 
  6. a temporary define since this is just a "temporary" bug.  Besides it's a 
  7. good demonstration of how you might add defines.  If you add them within 
  8. the else but after the include, they can be added to all of your source and 
  9. you don't have to re-precompile.  See below.)
  10. **********************************************************************/
  11.  
  12. #define    WantToPrecompile 0  //set to 1 if you want to precompile; 0 normally
  13. #if WantToPrecompile
  14.  
  15. //#define _940613CWBug
  16. #define wantDebugging 0 //this affects whether qDebug, qTheDebugger, etc get set
  17.                         //in MacAppHeaders.cp
  18.  
  19. #include <MacAppHeaders.cp>
  20. #else
  21.  
  22.     #ifdef powerc
  23.         #include <MacAppHeadersPPC_DR3> //or whatever you call your DR3 headers
  24.     #else
  25.         #include <MacAppHeaders68K_DR3> //or whatever you call your DR3 headers
  26.     #endif
  27. /*
  28. #define        flag1     1
  29. #define        flag2    0
  30. #include     <MyApp.h>
  31. #include     <MyUtils.h>
  32. ...
  33. */
  34.  
  35. #endif